<form id="detail-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="panel panel-default panel-intro">
        <div class="panel-heading">
            <h3 class="panel-title">商家详情</h3>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">商家ID:</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">{$row.merchant_id|htmlentities}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">店铺名称:</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">{$row.store_name|htmlentities}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">联系电话:</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">{$row.phone|htmlentities}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">店铺地址:</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">{$row.address|htmlentities}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">状态:</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">
                        {if condition="$row.status eq 1"}
                            <span class="label label-success">正常</span>
                        {else/}
                            <span class="label label-danger">禁用</span>
                        {/if}
                    </p>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">认证状态:</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">
                        {if condition="$row.verification_status eq 0"}
                            <span class="label label-default">未认证</span>
                        {elseif condition="$row.verification_status eq 1"/}
                            <span class="label label-success">已认证</span>
                        {else/}
                            <span class="label label-danger">认证失败</span>
                        {/if}
                    </p>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">注册时间:</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">{$row.created_at_text|htmlentities}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">最后登录:</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">{$row.last_login_time_text|htmlentities}</p>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">最后登录IP:</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">{$row.last_login_ip|htmlentities}</p>
                </div>
            </div>
        </div>
    </div>
</form>